package org.wanho.txy.ems.dao;

import org.wanho.txy.ems.entity.User;
import org.wanho.txy.ems.param.UserParam;

import java.util.List;

/**
 * Author：汤小洋
 * Date：2023-05-10 15:28
 * Description：<描述>
 */
public interface UserDao {

    public User selectUser(String username,String password);

    void insert(User user);

    List<User> selectByCondition(UserParam userParam, int pageNo, int pageSize);

    public int selectCount(UserParam userParam);

    void updateStatus(int id, int status);

    void deleteById(int id);

    User selectById(int id);

    User selectByUsername(String username);

    void update(User user);
}
